Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  Tell  if  Any  Internet  Explorer  Windows  Are  Open  to  a  Particular  Web  Site  

 Content of Tell if Any Internet Explorer Windows Are Open to a Particular Web Site.vbs
MD5 Hash: EC20425BE08C20ED76651170BD9D4269
Set objShell = CreateObject("Shell.Application")
Set objShellWindows = objShell.Windows

If objShellWindows.Count = 0 Then
Wscript.Echo "No browser windows are open to the Script Center."
Wscript.Quit
End If

blnFound = False

For i = 0 to objShellWindows.Count - 1
Set objIE = objShellWindows.Item(i)
strURL = objIE.LocationURL
If InStr(strURL, "http://www.microsoft.com/technet/scriptcenter")Then
blnFound = True
End If
Next

If blnFound Then
Wscript.Echo "At least one browser window is open to the Script Center."
Else
Wscript.Echo "No browser windows are open to the Script Center."
End If



   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a